﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>{{loc_1}}</title>
<meta http-equiv="content-type" content="text/html; charset=utf8" />
<meta name="description" content="{{loc_2}}" />
<meta name="keywords" content="{{loc_3}}" />

<link rel="stylesheet" href="/styles/default.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="/styles/rating.css" />
<link rel="icon" href="/images/favicon.ico" type="image/x-icon" />

<script type="text/javascript" src="/javascript/jquery.js"></script>
<script type="text/javascript" src="/javascript/rating.js"></script>
<script type="text/javascript">
	$(document).ready(function() {		
		{% for topProduct in top_products %}
		$('#rate_{{topProduct.key}}').rating('www.url.php', {maxvalue:5, curvalue:{{topProduct.rating}}});
		{% endfor %}
	});
</script>

</head>

<body>
<div id="wrapper">
<!--
<div id="under_construction">
	<a href="http://community.livejournal.com/ru_vilochka/"><img src="/images/under_construction.jpg" alt="Under construction. Миротворческая операция по принуждению к работе."  /></a>
</div>

<div id="under_construction1">
	<a href="http://community.livejournal.com/ru_vilochka/"><img src="/images/customers_sevastopol.jpg" alt="Показ миротворческих моделей в севастополе" /></a>
</div>-->
<div id="masthead">
	<img id="logo" src="/images/logo.gif" alt="{{loc_4}}" /> 
	<img id="title" src="/images/title_{{lang}}.gif" alt="{{loc_5}}" /> 
	<div id="slogan">{{loc_6}}</div>
	<div id="slogan_1">{{loc_7}}</div>
	
	<div id="tanketka">
		<ul>
			<li><a id="cart" href=''>{{loc_8}}</a></li>
			<li><a id="baks" href=''>{{loc_9}}</a></li>
		</ul>
	</div>
	
		<div id="menu">
			<ul>
				<li><a class="button_link" href='/admin/updateloc'>UPDATE</a></li>
				<li><a class="button_link" href=''>{{loc_10}}</a></li>
				<li><a class="button_link" href=''>{{loc_11}}</a></li>
				<!--<li><a class="button_link" href=''>оплата</a></li>-->
				<li><a class="button_link" href='/guestbook/'>{{loc_12}}</a></li>
			</ul>
		</div>
		
		<ul id="langs">
			<li><a id='lang_rus' class="lang_link" href='/ru'></a></li>
			<li ><a id='lang_eng' class="lang_link" href='/eng'></a></li>
			<li ><a id='lang_pt' class="lang_link" href='/pt'></a></li>
			<li ><a id='lang_fr' class="lang_link" href='/fr'></a></li>
		</ul>

	</div>

<div id="sidebar">
	<div class="sidebar_box">
	<h1 style="display:none">Категории:</h1>
	<ul id="pr_categories">
		<li>Грузинские товары
			<ul>
				<li><a href=''>Вилочка</a></li>
				<li><a href=''>Жип сиониста</a></li>
				<li><a href=''>Трансдипломатические номера</a></li>
			</ul>
		</li>
		<li>Естонские товары
			<ul class="category_producs">
				<li><a href=''>Сприте (eng. sprite)</a></li>
				<li><a href=''>Шпроты (rus. cприте)</a></li>
			</ul>
		</li>
		<li>Антиквариат
			<ul class="category_producs">
				<li><a href=''>Трофейный велосипед</a></li>
			</ul>
		</li>
		<li>Временно отсутствоет
			<ul class="category_producs">
				<li><a href=''>Тортик</a></li>
			</ul>
		</li>
	</ul>
	</div>
	

	
	<div id="suppliers" class="sidebar_box">
		<div>{{loc_13}}</div>
		<img src="/images/suppliers.gif" alt="{{loc_14}}" />
		<div>{{loc_15}}</div>
	</div>

	<div id="topProduct" class="sidebar_box">
		<h1>{{loc_16}}</h1>
		<h2> {{loc_17}} </h2>
		<div class="pr_price">{{loc_18}}</div>
		<img src="/images/jeep_hummer.gif" alt="{{loc_19}}" />
		<div id="pr_control">
			<a href="">{{loc_21}}</a>
		</div>
	</div>
	
	<div id="partners" class="sidebar_box">
	<h1>{{loc_20}}</h1>
		<p>
			<img src="/images/info_partner1.gif" alt="{{loc_22}}"/> 
			<img  src="/images/info_partner_rus.gif" alt="{{loc_23}}" />
			</p>
			<p>
			<img src="/images/info_partner_kp.gif"  alt="{{loc_24}}"/>
			<img  src="/images/info_partner_mil.gif" alt="{{loc_25}}" />
			</p>
	</div>
	
</div>


<div id="content">
	{% for topProduct in top_products %}
	    <div class="product">
			<div class="pr_buy">
				<a href='/add_to_cart/{{topProduct.key}}'>{{loc_21}}</a>
			</div>
			<div class="pr_img" ><img  src='/images/products/{{topProduct.image_path}}' alt="{{topProduct.alt_loc}}"/></div>
			
			<div class="pr_desc">
					<h2><a href="/products/{{topProduct.key}}">{{topProduct.name_loc}}</a></h2> 
					<h3>{{topProduct.desc_loc}}</h3>
					<div class="pr_price">
						<span class="currency">{{loc_30}}</span><span class="total">{{topProduct.price}}</span> 
					</div>					
					<div id="rate_{{topProduct.key}}" class="rating">&nbsp;</div>
			</div>
		</div>
	{% endfor %}
	<hr />
	<div id="promo" >
	<img src="/images/kiev_tort.gif" alt="{{loc_27}}"/>
		{{loc_26}}
	</div>
	<hr />
</div>

<div id="footer">
	{{loc_28}}
</div>
</div>

<script type="text/javascript">
//var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
//document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
//var pageTracker = _gat._getTracker("UA-4337599-3");
//pageTracker._trackPageview();
</script>

</body>
</html>